#define _CRT_SECURE_NO_WARNINGS
#include"Seqlist.h"

void TextSeqList1()
{
	SeqList sl;
	SeqListInit(&sl);


	SeqListPushBack(&sl, 1);
	SeqListPushBack(&sl, 6);
	SeqListPushBack(&sl, 7);
	SeqListPushBack(&sl, 7);
	SeqListPrint(&sl);

	SeqListInser(&sl, 1, 20);
	SeqListPrint(&sl);

	SeqListErase(&sl, 1);
	SeqListPrint(&sl);


	//SeqListPushFront(&sl, 2);

	/*SeqListPrint(&sl);
	SeqListPopBack(&sl);
	SeqListPrint(&sl);
	SeqListPopFront(&sl);
	SeqListPrint(&sl);*/
	//SeqListInser(&sl, 1, 20);
	//SeqListPrint(&sl);
	SeqListDestory(&sl);
}

int main()
{
	TextSeqList1();
	return 0;
}
